package com.ctshk.rpc.order.tour.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 *  旅行团我的订单
 * </p>
 *
 * @author 李新科
 * @date 2021/5/27 11:25
 */
@Data
@ApiModel(value = "MyTripOrderDTO",description = "我的订单-旅行团")
public class MyTripOrderDTO implements Serializable {

    @ApiModelProperty(value="id")
    private Long id;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "订单编号")
    private String OrderNumber;

    @ApiModelProperty(value="订单总额")
    private BigDecimal orderAmount;

    @ApiModelProperty(value = "订单状态")
    private Integer orderStatus;

    @ApiModelProperty(value = "支付状态（0待支付 1已支付 ）（C端）")
    private Integer isPay;

    @ApiModelProperty(value = "预订状态")
    private Integer scheduledStatus;

    @ApiModelProperty(value = "取消状态")
    private Integer cancelStatus;

    @ApiModelProperty(value = "付款到期日期时间")
    private LocalDateTime payExpireDateTime;

    @ApiModelProperty(value = "查询号码")
    private String queryNumber;

    // 公共字段↑

    @ApiModelProperty(value = "'行程id（冗余）'")
    private Long tripId;

    @ApiModelProperty(value = "旅行团-行程标题")
    private String tripTitle;

    @ApiModelProperty(value = "旅行团-出发日期")
    private LocalDate departDate;

    @ApiModelProperty(value = "旅客类型和人数")
    private String touristInfo;

    @ApiModelProperty(value = "订单创建时间")
    private LocalDateTime gmtCreate;

    @ApiModelProperty(value = "退款状态（0未申请 1待处理 2处理中 3已退款 4退款失败）(C端）")
    private Integer refundStatus;

    @ApiModelProperty(value="C端用户Id")
    private Long userId;

    @ApiModelProperty(value = "小店id")
    private Long shopId;
}
